package com.example.qggoodsprovider.service;

import java.util.List;
import java.util.Map;

public interface GoodsService {

    public List<Map> getAllGoods();

    //根据商品id查询被抢购数量
    public int getQgTotalByGoodsId(int goodsId);

    public List<Map> getAllGoodsByQgTotal();

    public int getStock(int goodsId);

    public int addTempSotck(Map map);

    public int getCountByGoodsIdUid(Map map);

    public Map getById(int goodsId);
}
